package com.aihna.system.domain.vo;

import com.aihna.system.domain.SysWechatConfig;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.aihna.common.excel.annotation.ExcelDictFormat;
import com.aihna.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 微信配置视图对象 sys_wechat_config
 *
 * @author Joseph.Chen
 * @date 2024-05-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysWechatConfig.class)
public class SysWechatConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 微信配置ID
     */
    @ExcelProperty(value = "微信配置ID")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * appid
     */
    @ExcelProperty(value = "appid")
    private String appid;

    /**
     * secret
     */
    @ExcelProperty(value = "secret")
    private String secret;

    /**
     * token
     */
    @ExcelProperty(value = "token")
    private String token;

    /**
     * aesKey
     */
    @ExcelProperty(value = "aesKey")
    private String aesKey;

    /**
     * 消息格式，XML或者JSON
     */
    @ExcelProperty(value = "消息格式，XML或者JSON")
    private String msgDataFormat;

    /**
     * 移动端用户类型
     */
    @ExcelProperty(value = "移动端用户类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "vvl_login_type")
    private Integer type;

    /**
     * 状态, 0失效, 1正常
     */
    @ExcelProperty(value = "状态, 0失效, 1正常")
    private Integer status;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    private String comments;


}
